package com.example.daytest.porxy.dynamic.jdk;

/**
 * @author heyu
 * @title: Main
 * @description:主类测试
 * @date 2021/5/18下午9:53
 */
public class Main {
  public static void main(String[] args) {
    SmsService smsService = new SmsServiceImpl();
    SmsService smsServiceImplProxy = (SmsService) JdkProxyFactory.getPorxy(smsService);
    smsServiceImplProxy.send("java");
  }
}
